import request from '@/utils/request'

export function getSeatList(movieHallId,token) {
    return request({
        url: '/seat/getSeatList',
        method: 'get',
        params:{
            movieHallId
        },
        headers: {
            'token': token
        }
    })
}

export function saveSeat(seatList,token) {
    return request({
        url: '/seat/saveSeat',
        
        method:'post',
        data:seatList,
        headers: {
            'token': token
        }
    })
}